package com.sixkey.entity.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * <p>
 * 公告表
 * </p>
 *
 * @author author
 * @since 2023-09-18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class NoticeVo implements Serializable {

    @NotBlank(message = "发布者不能为空")
    private String publisher;

    @NotBlank(message = "公告标题不能为空")
    private String title;

    @NotBlank(message = "公告内容不能为空")
    private String content;

    @NotBlank(message = "公告类型不能为空")
    private String type;
}
